<?php

/*
 * @copyright        [YouNet_COPYRIGHT]
 * @author           YouNet Development
 * @package          Module_Contactimporter
 * @version          2.06
 *
 */
defined('PHPFOX') or exit('NO DICE!');

class Contactimporter_Service_Connect extends Phpfox_Service {

    public function add($aUserIds,$iUserId){
        foreach ($aUserIds as $iValue) {            
            if($iValue > 0){
                Phpfox::getService("friend.process")->add($iUserId,$iValue);
            }
        }
    }

}

?>